package com.etgram.std.webapp;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.etgraph.recap.text.RecapTextParser;
import com.etgraph.recap.text.RecapTextParserImpl;

public class StdRecapProcessorView extends HttpServlet {
	private static final long serialVersionUID = 1L;
    public StdRecapProcessorView() {
        super();
    }

	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		
	}

	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		RecapTextParser parser = new RecapTextParserImpl();
		String text = request.getParameter("recapItem");
		parser.parserText(text);
	}

	public static void main(String[] args) {
		System.out.println("sss");
	}
}
